﻿<%@ Page Title="" Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true" CodeFile="GoodsLimitPriceUpdate.aspx.cs" Inherits="Manage_GoodsLimitPriceUpdate" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" runat="Server">

<script type="text/vbscript" language="vbscript" src="../Common/yz.vbs"></script>
<script type="text/javascript" language="javascript" src="../common/javascript/calendar.js"></script>


<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    
        <td style="width: 4px; height: 34px;">
            <img src="../images/intro_left.gif" style="width:4; height:34; " alt="" />
        </td>
        
        <td class="intro_wordbg" style="height: 34px">
            修改商品限价
        </td>
        
        <td style="background:url(../images/intro_bg.gif); height:34px; ">
            <img src="../images/intro_right.jpg" style="width:120; height:34; " alt="" />
        </td>
        
    </tr>
</table>

<table id="tabData" width="100%" border="1" align="center" cellpadding="2" cellspacing="1">
    <tr>
        <td style="width: 299px">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="chkProjectId" runat="server" Text="选择项目" />
        </td>
        
        <td colspan="3">
            <asp:DropDownList ID="listProject" runat="server" Width="630">
            </asp:DropDownList>
        </td>  
    </tr>
    
    <tr>
        <td align="right" style="width: 299px">
            流水号：
        </td>
        
        <td style="width: 220px">
            <asp:TextBox ID="txtLSH" runat="server" InvertedComma="流水号" Width="233px"></asp:TextBox>
        </td>
        
        <td align="right" style="width: 113px">
            品目号：
        </td>
        
        <td>
            <asp:TextBox ID="txtProductCode" runat="server" InvertedComma="流水号" Width="233px"></asp:TextBox>
        </td>
    </tr>
    
    <tr>
        <td align="right" style="width: 299px">
            通用名：
        </td>
        
        <td style="width: 220px">
            <asp:TextBox ID="txtname" runat="server" InvertedComma="通用名" Width="233px"></asp:TextBox>
        </td>
        
        <td align="right" style="width: 113px">
            剂 型：
        </td>
        
        <td>
            <asp:TextBox ID="txtmedicinemodel" runat="server" InvertedComma="剂 型" Width="233px"></asp:TextBox>
        </td>
    </tr>
    
    <tr>
        <td align="right" style="width: 299px">
            规 格：
        </td>
        
        <td style="width: 220px">
            <asp:TextBox ID="txtoutlook" runat="server" InvertedComma="规 格" Width="233px"></asp:TextBox>&nbsp;
        </td>
        
        <td align="right" style="width: 113px">
            单位：
        </td>
        
        <td style="width: 220px">
            <asp:TextBox ID="TextUnit" runat="server" Width="233px"></asp:TextBox>
        </td>
    </tr>
    
    <tr>  
        <td align="right" style="width: 136px">
            转换系数：
        </td>
        
        <td>
            <asp:TextBox ID="txtZhuanhuan" runat="server" Width="233px"></asp:TextBox>
        </td>
        
        <td align="right" style="width: 113px; height: 15px">
            &nbsp;生产企业名称：
        </td>
        
        <td style="width: 220px; height: 15px">
            <asp:TextBox ID="txtCompanyName" runat="server" InvertedComma="生产企业" Width="233px"></asp:TextBox>&nbsp;
        </td>
    </tr>
    
    <tr>
        <td style="height:15px; width:299px; text-align: right; ">
            质量层次：&nbsp; 
        </td>
        
        <td style="width: 220px; height: 15px; ">
            <asp:DropDownList ID="List_ifbid" runat="server" Visible="False" >
                <asp:ListItem>全部</asp:ListItem>
                <asp:ListItem>是</asp:ListItem>
                <asp:ListItem>否</asp:ListItem>
            </asp:DropDownList>
            <asp:DropDownList ID="lstQualityLevals" runat="server" Width="233px">
            </asp:DropDownList>
            <asp:CheckBox ID="chk1" runat="server" Text="同一通用名、剂型、规格、生产企业多个转换系数的商品" />
        </td>
        
        <td style="height: 15px; width: 113px;">
            <asp:Button ID="Button5" runat="server" Text="" CssClass="button_Query" OnClientClick="javascript:return CheckForm();" onclick="Button5_Click1" />
        </td>
        
        <td style="height: 15px; text-align: right;">
            <asp:Button ID="ToEcxul" runat="server" CssClass="button_bg4" OnClick="ToEcxul_Click" Text="导出到Excel" Width="70px" />
            &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        </td>
    </tr>
    
    <tr>
        <td style="height:15px; width:299px; text-align:right; ">
            有无限价：&nbsp;
        </td>
        
        <td style="width:220px; height:15px; ">
            <asp:DropDownList ID="List_limitP" runat="server" Width="233px">
                <asp:ListItem Selected="True">全部</asp:ListItem>
                <asp:ListItem>有</asp:ListItem>
                <asp:ListItem>无</asp:ListItem>
            </asp:DropDownList>
        </td>
 
        <td></td>
        
        <td style="text-align:center">
            <input id="Submit1" name="sub" type="submit" value="确定修改" class="button_bg" style="width:60; text-align:center "/>
        </td>
    </tr>
</table>

<asp:GridView ID="GridView1" runat="server" Width="100%" 
        AutoGenerateColumns="False" BackColor="White" BorderColor="#3366CC" BorderStyle="None" 
BorderWidth="1px" CellPadding="4" CssClass='table_table' 
        HeaderStyle-CssClass='table_title' DataKeyNames="GoodsId,LimitPrice"

        >
    <Columns>
        <asp:BoundField DataField="GoodsId" HeaderText="流水号" 
            AccessibleHeaderText="流水号"/>
        <asp:BoundField DataField="productid"       HeaderText="品目号"/>
        <asp:BoundField DataField="productname"     HeaderText="通用名"/>
        <asp:BoundField DataField="medicinemodel" HeaderText="剂 型"/>
        <asp:BoundField DataField="outlookc"        HeaderText="规 格"/>
        <asp:BoundField DataField="unit"            HeaderText="单位"/>
        <asp:BoundField DataField="factor"          HeaderText="转换系数"/>
        <asp:BoundField DataField="qualitylevals"   HeaderText="质量层次"/>
        <asp:BoundField DataField="companyName"     HeaderText="生产企业"/>

       <asp:TemplateField HeaderText="选择">
            <ItemTemplate>
                <asp:CheckBox runat="server" ID="chk" />
            </ItemTemplate>
        </asp:TemplateField>
         <asp:BoundField DataField="RetailPreic"     HeaderText="最高零售价"/>
         <asp:BoundField DataField="memo4"     HeaderText="物价来源"/>
        <asp:TemplateField HeaderText="入围价">
            <ItemTemplate>
                <asp:TextBox runat="server" ID="xjxg" Text='<%# DataBinder.Eval(Container.DataItem, "LimitPrice")%>'  Width="60px"></asp:TextBox>
            </ItemTemplate>
        </asp:TemplateField>
        
       
        
        <asp:TemplateField HeaderText="修改记录">
            <ItemTemplate>
                <a href='GoodsOperatorLog_limitPri.aspx?GoodsId=<%#MsgBox.JiaMiobj_Encrypt(DataBinder.Eval(Container.DataItem, "Goodsid"))%>' target="_blank">
                    查看详情
                </a>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
    <RowStyle BackColor="White" ForeColor="#003399" />
    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" CssClass="table_title" />
</asp:GridView>

<asp:GridView  ID="GridView2" runat="server"></asp:GridView> 
<uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
</asp:Content>
